package com.pinganfu.mock.service.impl;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.pinganfu.mock.dao.ISynchronousResultDao;
import com.pinganfu.mock.model.SynchronousResultEntity;
import com.pinganfu.mock.service.ISynchronousResultService;

@Service
public class SynchronousResultServiceImpl implements ISynchronousResultService{

	@Resource
	private ISynchronousResultDao synchronousResultDao;
	
	@Override
	public String getSynchronousResultByUrl(Map<String, Object> param) {
		// TODO Auto-generated method stub
		return synchronousResultDao.getSynchronousResultByUrl(param);
	}

	@Override
	public Integer insertSynchronousResult(SynchronousResultEntity entity) {
		// TODO Auto-generated method stub
		return synchronousResultDao.insertSynchronousResult(entity);
	}

}
